package ciyuan.Constants;

import net.minecraft.util.text.TranslationTextComponent;

public enum ItemQuality {
    SCRAP("Scrap", 0),
    NORMAL("Normal", 1),
    EXCELLENT("Excellent", 2),
    FINE("Fine", 3),
    PERFECT("Perfect", 4),
    EPIC("Epic", 5),
    LEGENDS("Legends", 6),
    LEGACY("Legacy", 7),
    CHASM("Chasm", 8),
    HEAVEN("Heaven", 9);

    private final TranslationTextComponent translationTag;
    private final int index;
    private final String name;

    ItemQuality(String name, int index) {
        this.name = name;
        this.translationTag = new TranslationTextComponent("ciyuan.quality." + name);
        this.index = index;
    }

    public TranslationTextComponent getTranslationTag() {
        return translationTag;
    }
}
